<div class="col-sm-12">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>添加/编辑分类</h5>
            <div class="ibox-tools">
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">关闭</span>
                </button>
            </div>
        </div>
        <div class="ibox-content">
            <form class="form-horizontal m-t"  action="{{url('backend/appcatedit')}}" method="post" id="signupForm">
                {{ csrf_field() }}
                <input type="hidden" name="id" value="{{$cat->id or ''}}">
                <div class="form-group">
                    <label class="col-sm-3 control-label">分类名：</label>
                    <div class="col-sm-8">
                        <input id="catname" value="{{$cat->catname or ''}}" name="catname" class="form-control" type="text" aria-required="true" aria-invalid="true" class="error">
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-3 control-label">排序：</label>
                    <div class="col-sm-8">
                        <input id="catname" value="{{$cat->sort or ''}}" name="sort" class="form-control" type="text" aria-required="true" aria-invalid="true" class="error">
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-sm-8 col-sm-offset-3">
                        <button class="btn btn-primary" type="submit">提交</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>